package insight.google.game.era.service;

import insight.google.game.era.dto.GameRoomDTO;

public interface RoomService {
	void sendCard(String jsId, String targets[], String cardId, int dataVersion) throws Exception;

	void startGame(int dataVersion) throws Exception;

	void fetchCards();

	void quitRoom();

	void initRoom(String jsComponentId);

	void finishPlay(String jsId, int dataVersion)throws Exception;

	void failToMatchCard(String jsComponentId, String cardName)throws Exception;

//	void getPlayerCards(int dataVersion);

	void getRoleCards(int dataVersion) throws Exception;

	void getCharacterCards(int dataVersion) throws Exception;

	void enableCharacterPolicy(String jsComponentId, String policyId,
			int dataVersion);

	void sendCardPolicy(String jsComponentId, String targets[], String cards[],
			int dataVersion);

	void sendDropCards(String jsComponentId, String cards[], int dataVersion);
	// void finish
	
	void finishedRegisterAttack();
	
	void userOnTurn()throws Exception;
	
	void executionPendingEvent()throws Exception;
	
	void activeHangUser()throws Exception;
	
	void userDead();
}
